<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <!-- import CSS -->
  <link rel="stylesheet" href="css/eui.css">
</head>
<body>
<div id="app">


</div>
</body>
<script src="js/vue.min.js"></script>
<!-- import JavaScript -->
<script src="js/eui.js"></script>
<script src="js/axios.min.js"></script>
<script>
  let v = new Vue({
    el: '#app',
    data: function() {
      return {
      userOrdersArr:[]
      }
    },
    created:function () {


      //获取用户订单
      axios.get("/index/userOrder").then(function (response) {
        v.userOrdersArr = response.data;
      })

    }
  })
</script>
</html>